package org.jeecg.modules.monitoring.j_monitoring.service;

import org.jeecg.modules.monitoring.j_monitoring.entity.GatewayWarningCount;
import org.jeecg.modules.monitoring.j_monitoring.entity.GatewayWarningHistory;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 网关告警历史
 * @Author: xiaoyq
 * @Date:   2023-05-09
 * @Version: V1.0
 */
public interface IGatewayWarningHistoryService extends IService<GatewayWarningHistory> {
    /**
     * 同步告警历史
     * @return
     */
    void syncGatewayWarningHistory();

    /**
     * 获得告警数量
     * @param fdn
     * @return
     */
    GatewayWarningCount getWarningCount(String fdn);

    void removeAll();
}
